"""
URL configuration for djangoProject project.

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/4.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""

from django.urls import path
from app01 import views, kafka_test;
from app01 import zhengze;
urlpatterns = [
    path('index/', views.index),
    path('user/user_list/', views.user_list),
    path('login/', views.login),
    path('test_json/', views.test_json),
    path('test_url/', views.test_url),
    #练习正则表达式
    path('test_zhengze_point/', zhengze.test_zhengze_point),
    path('test_zhengze_xing/', zhengze.test_zhengze_xing),
    path('test_zhengze_jia/', zhengze.test_zhengze_jia),
    path('test_zhengze_dakuohao/', zhengze.test_zhengze_dakuohao),
    path('test_zhengze_torft/', zhengze.test_zhengze_torft),
    path('test_zhengze_fanxiegang/', zhengze.test_zhengze_fanxiegang),
    path('test_zhengze_jiantoushang/', zhengze.test_zhengze_jiantoushang),
    path('test_zhengze_group/', zhengze.test_zhengze_group),
    #综合案例测试1
    path('test_zhengze_zh1/', zhengze.test_zhengze_zh1),
    path('test_zhengze_zh2/', zhengze.test_zhengze_zh2),
    path('test_zhengze_zh3/', zhengze.test_zhengze_zh3),

    #kafka的测试
    path('sendKafkaMessage/', kafka_test.sendMessage),
]
